package com.youyoulong.framework.util.beans;

import java.util.LinkedHashMap;

import com.youyoulong.framework.util.SystemStringUtil;

public class JavaBeanResultMap<V> extends LinkedHashMap<String, V> {
	private static final long serialVersionUID = 5703867527125507390L;

	public JavaBeanResultMap() {
		super(20, 1L);
	}

	@Override
	public V put(String key, V value) {
		key = SystemStringUtil.camelName(key.toLowerCase());
		return super.put(key, value);
	}

	public V putNoCamel(String key, V value) {
		return super.put(key, value);
	}
}
